<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>新经资讯后台管理</title>
	<link rel="stylesheet" type="text/css" href="../../static/admin/css/reset.css">
	<link rel="stylesheet" type="text/css" href="../../static/admin/css/main.css">
	<script type="text/javascript" src="../../static/admin/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="../../static/admin/js/news_type.js"></script>
</head>
<body>
	<div class="breadcrub">
			当前位置：商品管理>商品列表
		</div>
		<div class="pannel">
			<table class="common_table">
				<tr>
					<th width="10%">id</th>
					<th width="30%">分类名称</th>
					<th width="40%">上级分类</th>
					<th width="20%">管理操作</th>
				</tr>
            {% for type in goodses %}
                <tr>
                    <td width="10%">{{ type.id }}</td>
                    <td width="30%">{{ type.name }}</td>
                    <td width="40%">{{ type.parent.name }}</td>
                    <td width="20%">
                        <a href="javascript:;" class="edit">编辑</a>
                        <a href="javascript:;" class="delete">删除</a>
                    </td>
               </tr>
            {% endfor %}
            </table>
        </div>
</body>
</html>